package com.board.form;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SeatEatTimeUpdateForm {

    @NotNull(message = "ID不能为空")
    @Min(value = 1, message = "ID必须为正整数")
    private Integer id;

    @NotNull(message = "storeId不能为空")
    @Min(value = 1, message = "storeId必须为正整数")
    private Integer storeId;

    @NotBlank(message = "startTime不能为空")
    private String startTime; // 假设为日期时间字符串

    @NotBlank(message = "endTime不能为空")
    private String endTime; // 假设为日期时间字符串

}
